package com.zbkj.crmeb.merchant.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.PageParamRequest;
import com.zbkj.crmeb.export.vo.SupplierOrderExcelVo;
import com.zbkj.crmeb.store.model.StoreOrder;
import com.zbkj.crmeb.store.request.StoreOrderRefundRequest;
import com.zbkj.crmeb.store.request.StoreOrderSearchRequest;
import com.zbkj.crmeb.store.request.StoreOrderSendRequest;
import com.zbkj.crmeb.store.response.SupplierOrderItemResponse;
import com.zbkj.crmeb.store.response.SupplierOrderResponse;

import java.util.List;

public interface SupplierStoreOrderService extends IService<StoreOrder> {

    SupplierOrderResponse orderList(StoreOrderSearchRequest request, PageParamRequest pageParamRequest);

    boolean confirmOrder(Integer id, Boolean status, String remark,Integer merId,String ip);

    boolean send(StoreOrderSendRequest request);

    boolean refund(StoreOrderRefundRequest request,Integer merId,String ip);

    boolean refundRefuse(Integer id,Integer merId);

    List<SupplierOrderExcelVo> parseExportList(List<SupplierOrderItemResponse> orderList,Integer merId);

}
